package cn.itcast.service;

import cn.itcast.domain.Courier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

public interface CourierService {

    public void save(Courier courier);

    Page<Courier> findAllPage(Specification<Courier> specification, Pageable pageable);

    void delete(String[] ids);

    void restore(String[] ids);
}
